package com.xidian.zhiancloud.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.SysMenu;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;
import java.util.Map;

public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 获取不包含按钮的菜单列表
     */
    List<SysMenu> queryNotButtonList();

    List<SysMenu> queryList(Map<String, Object> map);

    List<SysMenu> queryList(Integer pid,Integer roleId);

    int queryTotal(Map<String, Object> map);

    int queryTotal();

}